#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <assert.h>
char* My_strcpy(char arr[], const char p[])
{
	assert(arr != NULL && p != NULL);
	int i = 0;
	char* s = arr;
	while (*p != '\0')
	{
		arr[i++] = *p;
		p++;
	}
	arr[i] = *p;
	return s;
}
int main()
{
	char arr[100] = {0};
	char p[50] = "ddfdfdsfds";
	My_strcpy(arr, p);
	printf("%s\n", My_strcpy(arr, p));
	return 0;
}